package com.neuedu.service.impl;

import com.neuedu.dao.UserDao;
import com.neuedu.model.User;
import com.neuedu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public User queryUserById(Integer uid) {
        User user = userDao.selectById(uid);
        return user;
    }
}
